count number of characters in a string